<h2>Overview</h2>

<table class="table">
	<th>Login</th>
	<th>Email</th>
	<th></th><th></th>
<% for user in @users -%>
	<tr class="<%= cycle('even', 'odd')+'_list' %>">
		<td><%= link_to user.login, :controller => 'account', :action => 'show', :id => user -%></td>
		<td><%= user.email -%></td>
		<td><%= link_to('edit', :controller => 'account', :action => 'edit', :id => user) %></td>
		<td><%= link_to('close', :controller => 'account', :action => 'close', :id => user) %></td>
	</tr>
<% end -%>
</table>
<br />
<br />
<%= link_to 'List all', :controller => 'account', :action =>'list' %>